Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renaming removeFrom to remove #73

Merged
merged 3 commits into from
Aug 1, 2016
Merged

Conversation

MuellerMatthew
Copy link
Contributor

This change renames the removeFrom function to remove keeping this plugin inline leaflet.

See here for information on when leaflet changed their controls removal function from removeFrom to just remove: Leaflet/Leaflet@eec19a4

This change renames the 'removeFrom' function to 'remove' keeping this plugin inline with the standard leaflet control. 
See here for information on when leaflet changed their controls removal function from `removeFrom` to just `remove`: Leaflet/Leaflet@eec19a4
@Turbo87
Copy link
Owner

Turbo87 commented May 24, 2016

we should at least deprecate it before removing it. removing it requires a major version bump.

Added depreciation warning that indicates that the function will be removed in a later version.
@MuellerMatthew
Copy link
Contributor Author

I added a warning that the function will be depreciated in a future version, the warning is only shown when the removeFrom() function is called.

@Turbo87 Turbo87 merged commit b5cfbef into Turbo87:master Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants